package com.gonsin.gview.annotations.interfaces;

import com.gonsin.gview.annotations.model.DownloadRequest;
import com.gonsin.gview.annotations.model.DownloadResponse;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IDownloadActionListener {

    /**
     * 获取下载链接
     */
    DownloadResponse getDownloadUrl(HttpServletRequest request, HttpServletResponse response, DownloadRequest downloadRequest) throws Throwable;

}
